package com.xyebank.ledger.service.zl.sche.sjd;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.xyebank.ledger.anon.MigTaskComponent;
import com.xyebank.ledger.enums.LedgerJobType;
import com.xyebank.ledger.service.common.MigServiceAdapter;
import com.xyebank.ledger.service.zl.adapter.sjd.ZLSJDServiceAdapter;
import com.xyebank.ledger.vo.deal.ZLSJDApplicationInfVo;

@Component
@MigTaskComponent(type = "zl_sjd_apply_")
public class ZLSjdApplyMigService extends MigServiceAdapter<ZLSJDApplicationInfVo> {


    @Autowired
    ZLSJDServiceAdapter zlServiceAdapter;

    
    @Override
    public Integer deal(Integer fromIdx, List list, LedgerJobType jobType) {
        return zlServiceAdapter.dealApplication(fromIdx, list, LedgerJobType.MIGRATE);
    }

}
